﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Fengsoft.AIBlog.Web.Code;
namespace Fengsoft.AIBlog.Web.Controllers
{
    public class StorageController:ExtensionController
    {
        // GET: Storage
        public ActionResult Image(string id)
        {
            string filePath=Server.MapPath(string.Format("~/app_data/storage/{0}.jpg",id));
            return File(filePath,"image/jpeg");
        }
    }
}